home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Elsa Gladiac 1.xpl < prev    next >
Text File  |  2000-12-14  |  1KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\Video Cards\Elsa\Gladiac"
  5. "NAME"="Gladic Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.04"
  8. "TEXT 1"="Keep Monitor ON while using TV Out"
  9. "DESCRIPTION 1"="If the first option is activated, the Gladiac driver will *NOT* turn off the monitor (this is the default) during display through the optional TV Out connector."
  10. "AUTHOR"="Xteq Systems"
  11. "CONTACTURL"="http://www.xteq.com"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"=" "
  14. "COMMENT 2"=""
  15.  
  16.  
  17. sPC="HKLM\SOFTWARE\Else\VideoIO\"
  18. sV1="HKLM\SOFTWARE\Else\VideoIO\VideoOut\Gladiac_EnableMonitor"
  19.  
  20. 'Called when the Plugin is started
  21. SUB Plugin_Initialize  
  22.   if RegPathExists(sPC) then
  23.      i=RegReadValue(sV1)
  24.      if i=1 then SetUIElement 1,true
  25.   else 
  26.      Disable
  27.   end if
  28. END SUB
  29.  
  30. 'Called when the Plugin should validate the Data the user has entered
  31. SUB Plugin_CheckData(ElementIndex)
  32. END SUB
  33.  
  34.  
  35.  
  36. 'Called when the Plugin should apply the changes
  37. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  if GetUIElement(1)=true then
  39.     Call RegWriteValue(sV1,1,2)
  40.  else
  41.     Call RegWriteValue(sV1,0,2)
  42.  end if
  43.  
  44. END SUB
  45.  
  46.  
  47.  
  48. 'Called when the Plugin is about to be removed from memory
  49. SUB Plugin_Terminate
  50. END SUB
  51.  
  52.